printf 打印 指定长度 字符串 原样输出字符串: printf("%s", str);2. 输出指定长度的字符串, 超长时不截断, 不足时右对齐: printf("%Ns", str); --N ...